package cn.tedu.lucky.draw.server.repository;

import cn.tedu.lucky.draw.server.protocol.po.Result;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ActivityResultRepository extends JpaRepository<Result,Long> {

    Integer countResultByActivityIdAndUserId(Long activityId,Long userId);
}
